#ifndef IMAGEVIEWER_H
#define IMAGEVIEWER_H

#include <QObject>
#include"imageprovider.h"

class ImageViewer:public QObject
{
    Q_OBJECT
public:
    explicit ImageViewer(QObject *parent=nullptr);

public slots:
    void showImage(const QImage& imgQ);

public:
    ImageProvider* m_pImageProvider=nullptr;

signals:
    void callQmlRefreshImg();
};

#endif // IMAGEVIEWER_H
